set Transition
Assigns the outgoing transition of a clip.
A previously assigned transition block is detached but not destroyed automatically. Fails if the given transition block is invalid or already assigned to another clip. Both the clip and its following clip on the track must support transitions, see supportsTransition. To clear a clip's transition, use removeTransition instead. With transition/overlap=false, transitions preserve clip timing and hold endpoint frames across the cut. The property is saved in scenes, and older scenes without it use true. A group clip on either side ignores transition/overlap: the clips meet at the cut, and the saved value stays.
Parameters
block
the outgoing clip that owns the transition relation.
transition
the transition block to assign.